package com.yhd.cloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 商品微服务1
 *
 * @author yinhuidong3@xiaomi.com
 * @since 2021/7/27
 */
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
@EnableTransactionManagement
@MapperScan("com.yhd.cloud.mapper")
public class Product01Application {

    public static void main(String[] args) {
        SpringApplication.run(Product01Application.class,args);
    }
}
